package com.zhuiYun.project.api.commodity.mapper;


import com.zhuiYun.project.api.commodity.entity.Commodity;
import com.zhuiYun.project.common.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.apache.ibatis.annotations.*;
import com.zhuiYun.project.api.commodity.model.CommodityModel;
import com.zhuiYun.project.api.handworkDiy.entity.HandworkDiy;
import java.util.List;
/**
 * @ClassName CommodityMapper
 * @Description TODO
 * Author 高
 * @Date 2023/4/3 10:29
 * @Version 1.0
 **/
@Mapper
public interface CommodityMapper extends BaseMapper<Commodity> {



    @Select("<script>SELECT id,commodity_name AS diyName FROM commodity" +
            "</script>")
    List<Commodity> commlistdiy();

    @Select("<script>SELECT id,commodity_name AS diyName FROM commodity" +
            "</script>")
    List<Commodity> commodityllist();
}
